package com.hl.ruoyicsmshop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 拼团活动对象 group_activity
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class GroupActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拼团活动ID */
    private Long gaId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long businessId;

    /** 拼团活动名称 */
    @Excel(name = "拼团活动名称")
    private String gaName;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gaStartTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gaEndTime;

    /** 活动状态(0-未开始,1-进行中,2-已结束) */
    @Excel(name = "活动状态(0-未开始,1-进行中,2-已结束)")
    private Long gaStatus;

    /** 参团人数 */
    @Excel(name = "参团人数")
    private Long gaPeopleNumber;

    /** 限购数量 */
    @Excel(name = "限购数量")
    private Long gaGoodNumber;

    /** 活动规则描述 */
    @Excel(name = "活动规则描述")
    private String gaContent;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String gaImage;

    public void setGaId(Long gaId) 
    {
        this.gaId = gaId;
    }

    public Long getGaId() 
    {
        return gaId;
    }

    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }

    public void setGaName(String gaName) 
    {
        this.gaName = gaName;
    }

    public String getGaName() 
    {
        return gaName;
    }

    public void setGaStartTime(Date gaStartTime) 
    {
        this.gaStartTime = gaStartTime;
    }

    public Date getGaStartTime() 
    {
        return gaStartTime;
    }

    public void setGaEndTime(Date gaEndTime) 
    {
        this.gaEndTime = gaEndTime;
    }

    public Date getGaEndTime() 
    {
        return gaEndTime;
    }

    public void setGaStatus(Long gaStatus) 
    {
        this.gaStatus = gaStatus;
    }

    public Long getGaStatus() 
    {
        return gaStatus;
    }

    public void setGaPeopleNumber(Long gaPeopleNumber) 
    {
        this.gaPeopleNumber = gaPeopleNumber;
    }

    public Long getGaPeopleNumber() 
    {
        return gaPeopleNumber;
    }

    public void setGaGoodNumber(Long gaGoodNumber) 
    {
        this.gaGoodNumber = gaGoodNumber;
    }

    public Long getGaGoodNumber() 
    {
        return gaGoodNumber;
    }

    public void setGaContent(String gaContent) 
    {
        this.gaContent = gaContent;
    }

    public String getGaContent() 
    {
        return gaContent;
    }

    public void setGaImage(String gaImage) 
    {
        this.gaImage = gaImage;
    }

    public String getGaImage() 
    {
        return gaImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gaId", getGaId())
            .append("businessId", getBusinessId())
            .append("gaName", getGaName())
            .append("gaStartTime", getGaStartTime())
            .append("gaEndTime", getGaEndTime())
            .append("gaStatus", getGaStatus())
            .append("gaPeopleNumber", getGaPeopleNumber())
            .append("gaGoodNumber", getGaGoodNumber())
            .append("gaContent", getGaContent())
            .append("gaImage", getGaImage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
